package com.teemor.gateway.openfeign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * @ename zhoulk
 * @cname 周李科
 * @date 2020/11/24 9:44
 */
@FeignClient(name = "blog")
public interface BlogServerFeign {

    @PostMapping(value = "/common/addIprecord")
    void addIprecord(@RequestBody Map<String, String> json);
}
